package com.colin.aiyi.entity;

/**
 * Created by hl on 2017/5/5.
 */

public class User extends BaseRequest{
    private static User user;
    public static User getInstance() {
        if (user==null)
        {
            user=new User();
        }
        return user;
    }

    private String password;
    private int UserId;//":9,
    private boolean vip;//":false  // TODO: 2017/6/9 确认返回的字段
    private String userName;
    private long updatedTime;
    private boolean deleted;
    private boolean isPush=true;
    private boolean isListen=true;
    private long birthbay;
    private int sex;
    private String weixinId;
    private long createdTime;
    private int id;
    private String headUrl;
    private String headUrl_local;
    private String telNo;
    private String cityId;
    private String cityName;
    private String constellation;
    private String constellationName;
    private String  messageCode;
    private String passwdOld;
    private String roleName;//: "团体偶像",
    private long vipEnd;//: 1498810755000,
    private long vipStart;//: 1493626760000



    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getUserId() {
        return UserId;
    }

    public void setUserId(int userId) {
        UserId = userId;
    }

    public boolean isVip() {
        return vip;
    }

    public void setVip(boolean vip) {
        this.vip = vip;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public long getVipEnd() {
        return vipEnd;
    }

    public void setVipEnd(long vipEnd) {
        this.vipEnd = vipEnd;
    }

    public long getVipStart() {
        return vipStart;
    }

    public void setVipStart(long vipStart) {
        this.vipStart = vipStart;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getTelNo() {
        return telNo;
    }

    public void setTelNo(String telNo) {
        this.telNo = telNo;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getConstellation() {
        return constellation;
    }

    public void setConstellation(String constellation) {
        this.constellation = constellation;
    }

    public String getConstellationName() {
        return constellationName;
    }

    public void setConstellationName(String constellationName) {
        this.constellationName = constellationName;
    }

    public String getMessageCode() {
        return messageCode;
    }

    public void setMessageCode(String messageCode) {
        this.messageCode = messageCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public long getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(long updatedTime) {
        this.updatedTime = updatedTime;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public boolean isPush() {
        return isPush;
    }

    public void setPush(boolean push) {
        isPush = push;
    }

    public boolean isListen() {
        return isListen;
    }

    public void setListen(boolean listen) {
        isListen = listen;
    }

    public long getBirthbay() {
        return birthbay;
    }

    public void setBirthbay(long birthbay) {
        this.birthbay = birthbay;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getWeixinId() {
        return weixinId;
    }

    public void setWeixinId(String weixinId) {
        this.weixinId = weixinId;
    }

    public long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(long createdTime) {
        this.createdTime = createdTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getHeadUrl_local() {
        return headUrl_local;
    }

    public void setHeadUrl_local(String headUrl_local) {
        this.headUrl_local = headUrl_local;
    }

    public static void setUser(User user) {
        User.user = user;
    }

    public String getPasswdOld() {
        return passwdOld;
    }

    public void setPasswdOld(String passwdOld) {
        this.passwdOld = passwdOld;
    }
}
